//
//  MacAddressInfo.m
//  DevSpoof
//
//  Created by huang on 2018/11/7.
//  Copyright © 2018年 wdys. All rights reserved.
//

#import "MacAddressInfo.h"

#import "MacAddressHelper.h"
#import "CommandLine.h"

@implementation MacAddressInfo
+ (instancetype)generateCurrent{
    MacAddressInfo *addressInfo = [MacAddressInfo new];
    addressInfo.wifiMac = [MacAddressHelper currentWifiMacAdresss];
    addressInfo.ethernetMac = [MacAddressHelper currentEthernetMacAdresss];
    return addressInfo;
}
+ (instancetype)generateNew{
    MacAddressInfo *addressInfo = [MacAddressInfo new];
    addressInfo.ethernetMac = [MacAddressHelper randomMacAddress];
    addressInfo.wifiMac = [MacAddressHelper randomMacAddress];
    return addressInfo;
}
@end
